/*
 * $HeadURL: $
 * $Id: $
 * Copyright (c) 2013 by Wodensoft System, all rights reserved.
 */
package com.wodensoft.core.context;

import java.util.Map;

/**
 * @author wodenwang
 * 
 */
public class RequestContext extends BaseContext {

    /**
     * 每次http调用周期所使用的request信息
     */
    private static ThreadLocal<RequestContext> valueLocal = new ThreadLocal<>();

    /**
     * 获取request实例
     * 
     * @return
     */
    public static RequestContext getCurrent() {
        return valueLocal.get();
    }

    /**
     * TODO .由系统框架调用，如filter等
     * 
     * @param params
     */
    static void set(Map params) {
        
    }
}
